package com.lanjiu.lib.imclient.dto;

import com.lanjiu.lib.imclient.dto.base.Dto;

import java.util.List;

/**
 * @description:
 * @author: Panwei
 * @date: 2019/12/23 15:46
 */
public class GroupVo extends Dto {

    private int groupId;
    private String name;
    private String remarks;
    private String owner;
    private int amount;
    private String announcement;
    private String groupType;

    private List<GroupMemberVo> groupMembers;

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getAnnouncement() {
        return announcement;
    }

    public void setAnnouncement(String announcement) {
        this.announcement = announcement;
    }

    public String getGroupType() {
        return groupType;
    }

    public void setGroupType(String groupType) {
        this.groupType = groupType;
    }

    public List<GroupMemberVo> getGroupMembers() {
        return groupMembers;
    }

    public void setGroupMembers(List<GroupMemberVo> groupMembers) {
        this.groupMembers = groupMembers;
    }

    @Deprecated
    @Override
    public Object toProtobuf() {
        return null;
    }

    public class GroupMemberVo {
        private int groupMemberId;
        private String memberUserId;
        private long entryTime;
        private String memberNickname;
        private String memberAlias;
        private String memberUserPhoto;
        private String memberUserType;

        public int getGroupMemberId() {
            return groupMemberId;
        }

        public void setGroupMemberId(int groupMemberId) {
            this.groupMemberId = groupMemberId;
        }

        public String getMemberUserId() {
            return memberUserId;
        }

        public void setMemberUserId(String memberUserId) {
            this.memberUserId = memberUserId;
        }

        public long getEntryTime() {
            return entryTime;
        }

        public void setEntryTime(long entryTime) {
            this.entryTime = entryTime;
        }

        public String getMemberNickname() {
            return memberNickname;
        }

        public void setMemberNickname(String memberNickname) {
            this.memberNickname = memberNickname;
        }

        public String getMemberAlias() {
            return memberAlias;
        }

        public void setMemberAlias(String memberAlias) {
            this.memberAlias = memberAlias;
        }

        public String getMemberUserPhoto() {
            return memberUserPhoto;
        }

        public void setMemberUserPhoto(String memberUserPhoto) {
            this.memberUserPhoto = memberUserPhoto;
        }

        public String getMemberUserType() {
            return memberUserType;
        }

        public void setMemberUserType(String memberUserType) {
            this.memberUserType = memberUserType;
        }
    }
}
